package net.pimpas.web.jsf.renderers.commandlink.ajax;

import java.io.IOException;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.render.Renderer;

import net.pimpas.web.jsf.renderers.commandlink.html.HtmlCommandLinkRenderer;
import net.pimpas.web.jsf.renderers.html.ajax.AjaxHtmlRenderer;

public class AjaxCommandLinkRenderer extends AjaxHtmlRenderer{
	
	@Override
	protected Renderer getRenderer(FacesContext context, UIComponent component) {
		return new AjaxCommandLinkRendererHelper(); 
	}

	
	private static class AjaxCommandLinkRendererHelper extends HtmlCommandLinkRenderer {
		@Override
		public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException {
		}
		
	}
}